package com.exam.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "教师信息实体类")
public class Teacher {
    @ApiModelProperty(value = "教师id")
    private Integer teacherId;

    @ApiModelProperty(value = "姓名")
    private String teacherName;

    @ApiModelProperty(value = "学院")
    private String institute;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "电话号码")
    private String tel;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "密码")
    private String pwd;

    @ApiModelProperty(value = "身份证号")
    private String cardId;

    @ApiModelProperty(value = "职称")
    private String type;

    @ApiModelProperty(value = "角色（0管理员，1教师，2学生）")
    private String role;
}